package com.qingsong.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;

/** @author qingsong */
@ColumnWidth(20)  
@Data 
public class OrderDetailExcelDTO implements Serializable {

    @ExcelProperty(value = {"订单明细表", "订单状态"})
    private String status;

    @ColumnWidth(40)  
    @ExcelProperty(value = {"订单明细表", "订单编号"})  
    private String sn;

    @ExcelProperty(value = {"订单明细表", "下单账号"})
    private String username;

    @ExcelProperty(value = {"订单明细表", "课程标题"})
    private String courseTitle;

    @ExcelProperty(value = {"订单明细表", "课程单价"})
    private Double coursePrice;

    @ExcelProperty(value = {"订单明细表", "订单总金额"})  
    private Double totalAmount;  
  
    @ExcelProperty(value = {"订单明细表", "实际支付总金额"})  
    private Double payAmount;  
  
    @ExcelProperty(value = {"订单明细表", "订单支付方式"})  
    private String payType;  

    @ExcelProperty(value = {"订单明细表", "创建时间"})
    private LocalDateTime created;

    @ExcelProperty(value = {"订单明细表", "修改时间"})
    private LocalDateTime updated;

    @ExcelProperty(value = {"订单明细表", "订单描述"})
    private String info;
}